package com.syni.mdd.yhd.common.all.service.groupBuy;

import com.syni.mdd.yhd.common.all.dao.jpa.business.BmsBusinessAreaDao;
import com.syni.mdd.yhd.common.all.dao.jpa.groupBuy.BmsUserHelpBargainDao;
import com.syni.mdd.yhd.common.all.entity.groupBuy.BmsUserHelpBargain;
import com.syni.mdd.sjb.common.component.utils.common.utils.ParamsMap;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @className BmsDxGroupBuyUseService
 * @description TOO
 * @Author cfx
 * @DATE 2019/7/30 10:58
 * @VERSION 1.0
 **/
public interface BmsUserHelpBargainService {
    BmsUserHelpBargainDao getBaseDao();
    Page<BmsUserHelpBargain> getOtherHelpRecord(Integer bargainId, Integer userId, Integer pageNum, Integer pageSize);

    List<BmsUserHelpBargain> getOtherHelpRecord(Integer bargainId, Integer userId);

    void addBargainRecord(Integer userId, Integer bargainId,Double cutPrice);

    List<BmsUserHelpBargain> findUserHelpRecord(Integer userId);

    Page<BmsUserHelpBargain> getHelpRecord(Integer bargainId,Integer pageNum,Integer pageSize);

    List<BmsUserHelpBargain> getHelpRecord(Integer bargainId);
}
